package com.cxy.service.impl;

import com.cxy.dao.UserDao;
import com.cxy.pojo.User;
import com.cxy.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 蔡心勇
 * @create 2022/4/2 - 15:38
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;
    @Override
    public User queryUser(String username, String password) {
        System.out.println("UserServiceImpl");

        return userDao.queryUser(username,password);
    }
}
